//
//  HSYGetBillRecordsRequest.m
//  HSY
//
//  Created by 陈浩 on 2017/4/7.
//  Copyright © 2017年 金开门. All rights reserved.
//

#import "HSYGetBillRecordsRequest.h"

@implementation HSYGetBillRecordsRequest

- (NSString *)serviceCode{
    return API_SERVICE_CODE_GET_BILL_RECORDS;
}

- (NSDictionary *)requestData{
    NSAssert(self.accountId.length > 0, @"账户id不能为空");
    
    NSMutableDictionary *params = [@{} mutableCopy];
    params[@"accountId"] = self.accountId;
    params[@"pageNo"] = @(self.pageNo);
    params[@"pageSize"] = @(self.pageSize);
    params[@"date"] = [NSString currentDateString];

    return params;
}

@end
